package com.example.eddie.test.PoJo;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by eddie on 28/08/2017.
 */

public class News implements Parcelable {
    String nextWeb;
    String name;
    String date;

    public News(String nextWeb, String name, String date) {
        this.nextWeb = nextWeb;
        this.name = name;
        this.date = date;
    }

    public String getNextWeb() {
        return nextWeb;
    }

    public void setNextWeb(String nextWeb) {
        this.nextWeb = nextWeb;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel parcel, int i) {

    }
}
